package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 电信引流内容备案记录实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("telecom_content_record")
public class TelecomContentRecordEntity extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("province")
    private String province;

    @TableField("main_port")
    private String mainPort;

    @TableField("sub_port")
    private String subPort;

    @TableField("number1")
    private String number1;

    @TableField("number2")
    private String number2;

    @TableField("link1")
    private String link1;

    @TableField("usage_description")
    private String usageDescription;

    @TableField("operation_type")
    private Integer operationType;

    @TableField("status")
    private Integer status;

    @TableField("create_id")
    private String createId;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableLogic(value = "0", delval = "1")
    @TableField("deleted")
    private Integer deleted;
}
